package com.k.demo.service;

import java.util.List;

import com.k.demo.entity.UserAddress;

public interface UserAddressService {
	
	List<UserAddress> getALL();
	//获取当前登录人的地址列表
	List<UserAddress> getNowAddresses(int userid);
	
	//添加用户地址
	UserAddress addUserAddress(UserAddress userAddress);
	
	//删除假用户
	UserAddress falseDeleteUserAddress(int address_id);
	
	//返回地址数量统计
	int countUserAddress(int userid);
	
	//修改个人地址
	UserAddress modifyUserAddress(UserAddress userAddress);
	
	//默认地址更新
	int updatedefult(int userid);
	
	
}
